$OpenBSD: patch-akonadi_contact_tests_CMakeLists_txt,v 1.2 2014/07/09 20:03:30 zhuk Exp $
Fix linking.
--- akonadi/contact/tests/CMakeLists.txt.orig	Thu May  8 11:26:48 2014
+++ akonadi/contact/tests/CMakeLists.txt	Mon May 19 17:57:35 2014
@@ -6,14 +6,14 @@ macro(add_akonadi_contact_demo _source)
   set(_test ${_source})
   get_filename_component(_name ${_source} NAME_WE)
   kde4_add_executable(${_name} TEST ${_test})
-  target_link_libraries(${_name} akonadi-kde akonadi-kmime akonadi-contact ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${KDE4_KDECORE_LIBS} ${KDE4_KDEUI_LIBS})
+  target_link_libraries(${_name} akonadi-contact akonadi-kmime akonadi-kde ${KDE4_KDEUI_LIBS} ${KDE4_KDECORE_LIBS} ${QT_QTGUI_LIBRARY} ${QT_QTCORE_LIBRARY} ${UUID_LIBRARIES})
 endmacro()
 
 ########### next target ###############
 
 set(contactmetadataattributetest_SRCS contactmetadataattributetest.cpp)
 kde4_add_unit_test(contactmetadataattributetest TESTNAME contactmetadataattributetest ${contactmetadataattributetest_SRCS})
-target_link_libraries(contactmetadataattributetest ${QT_QTTEST_LIBRARY} ${QT_QTCORE_LIBRARY} ${KDE4_KDECORE_LIBS} akonadi-contact)
+target_link_libraries(contactmetadataattributetest akonadi-contact ${KDE4_KDECORE_LIBS} ${QT_QTTEST_LIBRARY} ${QT_QTCORE_LIBRARY})
 
 ########### next target ###############
 
